<div class="form">	    
    <?php 
    $form = $this->beginWidget('CActiveForm', array(
    'id'=>'user-form',
    //'enableAjaxValidation'=>true,
    'enableClientValidation'=>true
      ));
    $themeUrl = Yii::app()->theme->baseUrl;
    cs()->registerScriptFile($themeUrl . '/js/jquery.tooltip.js');
    ?>
    <table class="form" style="width: 100%">
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'old_password'); ?></td>
            <td class="input" >
                <?php echo $form->passwordField($model, 'old_password', array('style' => 'width:160px')); ?>
                <?php echo $form->error($model, 'old_password'); ?>
            </td>
        </tr>
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'new_password'); ?></td>
            <td class="input" >
                <?php echo $form->passwordField($model, 'new_password', array('style' => 'width:160px')); ?>
                <?php echo $form->error($model, 'new_password'); ?>
            </td>
        </tr>
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'confirm_password'); ?></td>
            <td class="input" >
                <?php echo $form->passwordField($model, 'confirm_password', array('style' => 'width:160px')); ?>
                <?php echo $form->error($model, 'confirm_password'); ?>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="cbutton">
                <?php echo Html::buttonConfirm(t('BTN_YES'), 'statusConfirmed'); ?>
                <?php echo Html::buttonConfirm(t('BTN_NO'), 'statusCanceled', 'cancel'); ?>
            </td>
        </tr>
    </table>    
    <script type="text/javascript">LGCMS.addTooltip();</script>
    <?php $this->endWidget(); ?>
</div>

